home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / mint / lib / mlib41d.zoo / diffc next >
Encoding:
Text File  |  1993-11-01  |  24.1 KB  |  835 lines

  1. *** 40.1    1993/10/30 08:59:36
  2. --- nlist.c    1993/10/31 09:10:58
  3. ***************
  4. *** 31,37 ****
  5.       if( !symread )
  6.       {
  7.           symread=min(sizeof(symbuf),symcount);
  8. !         if(symread!=read(sym_fd,symbuf,symread))
  9.           {
  10.               close(sym_fd);
  11.                           symread=0;
  12. --- 31,37 ----
  13.       if( !symread )
  14.       {
  15.           symread=min(sizeof(symbuf),symcount);
  16. !         if((int)symread != read(sym_fd,symbuf, (int)symread))
  17.           {
  18.               close(sym_fd);
  19.                           symread=0;
  20. ***************
  21. *** 76,82 ****
  22.       if( ( sym_fd=open(file,O_RDONLY) ) == -1 ) return -1;            
  23.   
  24.       /* Read in file header */
  25. !     read(sym_fd,&hbuf,sizeof(hbuf));
  26.   
  27.       /* Executable file ? */
  28.       if(A_BADMAG(hbuf)) 
  29. --- 76,82 ----
  30.       if( ( sym_fd=open(file,O_RDONLY) ) == -1 ) return -1;            
  31.   
  32.       /* Read in file header */
  33. !     read(sym_fd,&hbuf,(int) sizeof(hbuf));
  34.   
  35.       /* Executable file ? */
  36.       if(A_BADMAG(hbuf)) 
  37. ***************
  38. *** 87,93 ****
  39.       }
  40.   
  41.       /* Any symbols? */
  42. !     if( !(symcount=hbuf.a_syms) )
  43.       {
  44.           errno=EDOM;
  45.           return -1;
  46. --- 87,93 ----
  47.       }
  48.   
  49.       /* Any symbols? */
  50. !     if((symcount=hbuf.a_syms) == 0)
  51.       {
  52.           errno=EDOM;
  53.           return -1;
  54. *** 40.1    1993/10/30 08:59:36
  55. --- qsort.c    1993/10/31 08:56:30
  56. ***************
  57. *** 21,37 ****
  58.   #include <string.h>
  59.   #include <memory.h>
  60.   
  61.   #ifdef __GNUC__
  62.   #  ifdef minix
  63.        void *alloca(unsigned long);
  64.        typedef unsigned long size_t;
  65.   #  endif
  66. ! #  define INLINE inline
  67.   #else
  68.   #  define INLINE /* */
  69. - #endif
  70. - #ifndef _COMPILER_H
  71. - #include <compiler.h>
  72.   #endif
  73.   
  74.   /* macros for incrementing/decrementing void pointers */
  75. --- 21,42 ----
  76.   #include <string.h>
  77.   #include <memory.h>
  78.   
  79. + #ifndef _COMPILER_H
  80. + #include <compiler.h>
  81. + #endif
  82.   #ifdef __GNUC__
  83.   #  ifdef minix
  84.        void *alloca(unsigned long);
  85.        typedef unsigned long size_t;
  86.   #  endif
  87. ! #  ifdef __GNUC_INLINE__
  88. ! #    define INLINE    inline
  89. ! #  else
  90. ! #    define INLINE    /* */
  91. ! #  endif
  92.   #else
  93.   #  define INLINE /* */
  94.   #endif
  95.   
  96.   /* macros for incrementing/decrementing void pointers */
  97. *** 40.1    1993/10/30 08:59:36
  98. --- strerror.c    1993/10/31 11:24:54
  99. ***************
  100. *** 96,106 ****
  101.       "range error",                /* 88 */
  102.       "domain error",                /* 89 */
  103.       "I/O error",                /* 90 */
  104. !     "disk full"                /* 91 */
  105.       };
  106.   
  107.   int    sys_nerr = (int)(sizeof(sys_errlist)/sizeof(sys_errlist[0]));
  108.   
  109.   /*
  110.    * strerror - map error number to descriptive string
  111.    *
  112. --- 96,160 ----
  113.       "range error",                /* 88 */
  114.       "domain error",                /* 89 */
  115.       "I/O error",                /* 90 */
  116. !     "disk full",                /* 91 */
  117. !     nullstr,                /* 92 */
  118. !     nullstr,                /* 93 */
  119. !     nullstr,                /* 94 */
  120. !     nullstr,                /* 95 */
  121. !     nullstr, nullstr, nullstr, nullstr, nullstr,    /* 96 - 100 */
  122. !     nullstr, nullstr, nullstr, nullstr, nullstr,    /* 101 - 105 */
  123. !     nullstr, nullstr, nullstr, nullstr, nullstr,    /* 106 - 110 */
  124. !     nullstr, nullstr, nullstr, nullstr, nullstr,    /* 111 - 115 */
  125. !     nullstr, nullstr, nullstr, nullstr, nullstr,    /* 116 - 120 */
  126. !     nullstr, nullstr, nullstr, nullstr, nullstr,    /* 121 - 125 */
  127. !     nullstr,                /* 126 */
  128. !     nullstr,                /* 127 */
  129. !     "interrupted system call"        /* 128 */
  130.       };
  131.   
  132.   int    sys_nerr = (int)(sizeof(sys_errlist)/sizeof(sys_errlist[0]));
  133.   
  134. + #ifdef __MINT__
  135. + /* Support for Kay Roemer's socket library */
  136. + char *_sock_errlist[] = {
  137. +     "Socket operation on non-socket",        /* 300 */
  138. +     "Destination address required",
  139. +     "Message too long",
  140. +     "Protocol wrong type for socket",
  141. +     "Protocol not available",
  142. +     "Protocol not supported",
  143. +     "Socket type not supported",
  144. +     "Operation not supported",
  145. +     "Protocol family not supported",
  146. +     "Address family not supported by protocol",
  147. +     "Address already in use",
  148. +     "Cannot assign requested address",
  149. +     "Network is down",
  150. +     "Network is unreachable",
  151. +     "Network dropped conn. because of reset",
  152. +     "Software caused connection abort",
  153. +     "Connection reset by peer",
  154. +     "Socket is already connected",
  155. +     "Socket is not connected",
  156. +     "Cannot send after shutdown",
  157. +     "Connection timed out",
  158. +     "Connection refused",
  159. +     "Host is down",
  160. +     "No route to host",
  161. +     "Operation already in progress",
  162. +     "Operation now in progress",
  163. +     "Operation would block"
  164. + };
  165. + int    _sock_nerr = (int)(sizeof (_sock_errlist) / sizeof (char *));
  166. + #define MINSOCKERR    300
  167. + #define MAXSOCKERR    (MINSOCKERR + _sock_nerr)
  168. + #endif
  169.   /*
  170.    * strerror - map error number to descriptive string
  171.    *
  172. ***************
  173. *** 115,120 ****
  174. --- 169,178 ----
  175.   
  176.       if (errnum >= 0 && errnum < sys_nerr)
  177.           return(sys_errlist[errnum]);
  178. + #ifdef __MINT__
  179. +     else if (errnum >= MINSOCKERR && errnum < MAXSOCKERR)
  180. +         return(_sock_errlist[errnum - MINSOCKERR]);
  181. + #endif
  182.       else
  183.           return(nullstr);
  184.   }
  185. *** 40.1    1993/10/30 08:59:36
  186. --- utime.c    1993/10/31 09:11:24
  187. ***************
  188. *** 135,141 ****
  189.       date = (int) (dtime & 0xffff);
  190.       time = (int) (dtime >> 16) & 0xffff;
  191.   
  192. !     if ((r = Tsetdate(date)) || (r = Tsettime(time))) {
  193.           errno = r == -1 ? EBADARG : (int) -r;
  194.           return -1;
  195.       }
  196. --- 135,141 ----
  197.       date = (int) (dtime & 0xffff);
  198.       time = (int) (dtime >> 16) & 0xffff;
  199.   
  200. !     if (((r = Tsetdate(date)) != 0) || ((r = Tsettime(time)) != 0)) {
  201.           errno = r == -1 ? EBADARG : (int) -r;
  202.           return -1;
  203.       }
  204. *** 40.1    1993/10/30 08:59:36
  205. --- wcmb.c    1993/10/31 09:11:26
  206. ***************
  207. *** 31,37 ****
  208.       
  209.       if(mbstr == NULL) mbstr = "";
  210.       
  211. !     while(revcnt && (*wstr++ = *mbstr++)) revcnt--;
  212.       
  213.       return maxlen - revcnt;
  214.   }
  215. --- 31,37 ----
  216.       
  217.       if(mbstr == NULL) mbstr = "";
  218.       
  219. !     while(revcnt && ((*wstr++ = *mbstr++) != 0)) revcnt--;
  220.       
  221.       return maxlen - revcnt;
  222.   }
  223. ***************
  224. *** 62,68 ****
  225.       
  226.       if(wstr == NULL) wstr = _wnull; /* Better avoid L"". */
  227.       
  228. !     while(revcnt && (*mbstr++ = (char) *wstr++)) revcnt--;
  229.       
  230.       return maxlen - revcnt;
  231.   }
  232. --- 62,68 ----
  233.       
  234.       if(wstr == NULL) wstr = _wnull; /* Better avoid L"". */
  235.       
  236. !     while(revcnt && ((*mbstr++ = (char) *wstr++) != 0)) revcnt--;
  237.       
  238.       return maxlen - revcnt;
  239.   }
  240. *** 40.1    1993/10/30 08:59:36
  241. --- wcscat.c    1993/10/31 09:11:30
  242. ***************
  243. *** 19,25 ****
  244.       {
  245.           for (dscan = dst; *dscan; dscan++)
  246.           continue;
  247. !         while ((*dscan++ = *sscan++))
  248.               continue;
  249.       }
  250.       return(dst);
  251. --- 19,25 ----
  252.       {
  253.           for (dscan = dst; *dscan; dscan++)
  254.           continue;
  255. !         while ((*dscan++ = *sscan++) != 0)
  256.               continue;
  257.       }
  258.       return(dst);
  259. ***************
  260. *** 43,49 ****
  261.           for (dscan = dst; *dscan; dscan++)
  262.           continue;
  263.           count = n;
  264. !         while ((c = *sscan++) && --count >= 0)
  265.           *dscan++ = c;
  266.           *dscan = 0;
  267.       }
  268. --- 43,49 ----
  269.           for (dscan = dst; *dscan; dscan++)
  270.           continue;
  271.           count = n;
  272. !         while (((c = *sscan++) != 0) && --count >= 0)
  273.           *dscan++ = c;
  274.           *dscan = 0;
  275.       }
  276. *** 40.1    1993/10/30 08:56:04
  277. --- Changelog    1993/11/01 22:31:34
  278. ***************
  279. *** 4,9 ****
  280. --- 4,144 ----
  281.   Changes are listed in *reverse* order, most recent changes being
  282.   first.
  283.   
  284. + PATCHLEVEL41::
  285. + ***** nlist.c
  286. + ----------------------------
  287. + revision 40.2    
  288. + date: 1993/10/31 09:24:14;  author: hohmuth;  state: Exp;  lines: +3 -3
  289. + add a few typecasts for __MSHORT__
  290. + =============================================================================
  291. + ***** qsort.c
  292. + ----------------------------
  293. + revision 40.2    
  294. + date: 1993/10/31 08:58:56;  author: jrb;  state: Exp;  lines: +9 -4
  295. + adjust order of inclusion of compiler.h so that INLINE may be
  296. + conditionally overriden even when __GNUC__
  297. + =============================================================================
  298. + ***** strerror.c
  299. + ----------------------------
  300. + revision 40.2    
  301. + date: 1993/10/31 11:33:36;  author: entropy;  state: Exp;  lines: +59 -1
  302. + Add support for the socket lib.
  303. + =============================================================================
  304. + ***** utime.c
  305. + ----------------------------
  306. + revision 40.2    
  307. + date: 1993/10/31 09:25:04;  author: hohmuth;  state: Exp;  lines: +1 -1
  308. + make assignments used as truth values clearer, to avoid
  309. + spurious warnings
  310. + =============================================================================
  311. + ***** wcmb.c
  312. + ----------------------------
  313. + revision 40.2    
  314. + date: 1993/10/31 09:25:16;  author: hohmuth;  state: Exp;  lines: +2 -2
  315. + make assignments used as truth values clearer, to avoid
  316. + spurious warnings
  317. + =============================================================================
  318. + ***** wcscat.c
  319. + ----------------------------
  320. + revision 40.2    
  321. + date: 1993/10/31 09:25:24;  author: hohmuth;  state: Exp;  lines: +2 -2
  322. + make assignments used as truth values clearer, to avoid
  323. + spurious warnings
  324. + =============================================================================
  325. + ***** include/PatchLev.h
  326. + ----------------------------
  327. + revision 40.2    
  328. + date: 1993/10/30 10:30:02;  author: entropy;  state: Exp;  lines: +1 -1
  329. + -
  330. + =============================================================================
  331. + ***** include/errno.h
  332. + ----------------------------
  333. + revision 40.2    
  334. + date: 1993/10/31 11:03:32;  author: entropy;  state: Exp;  lines: +40 -1
  335. + Add support for the socket library.
  336. + =============================================================================
  337. + ***** include/osbind.h
  338. + ----------------------------
  339. + revision 40.3    
  340. + date: 1993/10/31 09:23:14;  author: hohmuth;  state: Exp;  lines: +3 -3
  341. + fix prototypes for Pure C: gemdos(), bios(), xbios()
  342. + ----------------------------
  343. + revision 40.2
  344. + date: 1993/10/31 09:00:00;  author: jrb;  state: Exp;  lines: +11 -2
  345. + relax the constraints on the inputs of trap_14_wwwwwww (only
  346. + Rsconf maps to this)  to "g" from "r", as these many "r" 's
  347. + give gcc 2.>3.X heartaches (understandably). note this is ok
  348. + since these args will never be expressions, and we never
  349. + have to constrain hard enough to force eval before we change
  350. + sp from underneath gcc.
  351. + =============================================================================
  352. + ***** ioctl.c
  353. + ----------------------------
  354. + revision 40.2    
  355. + date: 1993/10/31 09:24:04;  author: hohmuth;  state: Exp;  lines: +1 -1
  356. + add a few typecasts for __MSHORT__
  357. + =============================================================================
  358. + ***** open.c
  359. + ----------------------------
  360. + revision 40.2    
  361. + date: 1993/10/31 09:24:24;  author: hohmuth;  state: Exp;  lines: +1 -1
  362. + add a few typecasts for __MSHORT__
  363. + =============================================================================
  364. + ***** popen.c
  365. + ----------------------------
  366. + revision 40.2    
  367. + date: 1993/10/31 09:24:34;  author: hohmuth;  state: Exp;  lines: +6 -1
  368. + add a few typecasts for __MSHORT__
  369. + add #include <sys\types.h> for Turbo C
  370. + =============================================================================
  371. + ***** read.c
  372. + ----------------------------
  373. + revision 40.2    
  374. + date: 1993/10/31 09:25:32;  author: hohmuth;  state: Exp;  lines: +1 -1
  375. + add typecasts to calls of Psignal(), Fselect() and Dreaddir(),
  376. + to make the argument types match the prototypes
  377. + =============================================================================
  378. + ***** select.c
  379. + ----------------------------
  380. + revision 40.2    
  381. + date: 1993/10/31 09:25:42;  author: hohmuth;  state: Exp;  lines: +3 -3
  382. + add typecasts to calls of Psignal(), Fselect() and Dreaddir(),
  383. + to make the argument types match the prototypes
  384. + add "U" to unsigned short constants
  385. + =============================================================================
  386. + ***** tcbreak.c
  387. + ----------------------------
  388. + revision 40.2    
  389. + date: 1993/10/31 09:24:44;  author: hohmuth;  state: Exp;  lines: +1 -1
  390. + add a few typecasts for __MSHORT__
  391. + =============================================================================
  392. + ***** truncate.c
  393. + ----------------------------
  394. + revision 40.2    
  395. + date: 1993/10/31 09:24:52;  author: hohmuth;  state: Exp;  lines: +2 -2
  396. + add a few typecasts for __MSHORT__
  397. + =============================================================================
  398. + ***** ttyname.c
  399. + ----------------------------
  400. + revision 40.2    
  401. + date: 1993/10/31 09:25:50;  author: hohmuth;  state: Exp;  lines: +1 -1
  402. + add typecasts to calls of Psignal(), Fselect() and Dreaddir(),
  403. + to make the argument types match the prototypes
  404. + =============================================================================
  405. + ***** purec/Makefile
  406. + ----------------------------
  407. + revision 40.2    
  408. + date: 1993/11/01 22:08:26;  author: hohmuth;  state: Exp;  lines: +14 -9
  409. + *** empty log message ***
  410. + =============================================================================
  411. + ***** purec/mintlib.prj
  412. + ----------------------------
  413. + revision 40.2    
  414. + date: 1993/11/01 22:08:26;  author: hohmuth;  state: Exp;  lines: +13 -0
  415. + *** empty log message ***
  416. + =============================================================================
  417.   PATCHLEVEL40::
  418.   
  419.   ***** abort.c
  420. *** 40.1    1993/10/30 08:59:36
  421. --- Makefile.adm    1993/10/30 22:12:32
  422. ***************
  423. *** 89,97 ****
  424.             MKDIFFS `expr $V - 1` $(dist)/src $$dir/RCS/* >> $s ; \
  425.       done
  426.       rm -f $h
  427. !     cd /usr/include ; for dir in . sys ;\
  428.       do \
  429.             $(srcdir)/MKDIFFS `expr $V - 1` $(dist)/include $$dir/RCS/* >> $h ; \
  430.       done
  431.   
  432. !     
  433. --- 89,116 ----
  434.             MKDIFFS `expr $V - 1` $(dist)/src $$dir/RCS/* >> $s ; \
  435.       done
  436.       rm -f $h
  437. !     cd $(incdir) ; for dir in . sys ;\
  438.       do \
  439.             $(srcdir)/MKDIFFS `expr $V - 1` $(dist)/include $$dir/RCS/* >> $h ; \
  440.       done
  441.   
  442. ! newversion:
  443. !     for dir in . $(incdir) $(incdir)/sys crlf lattice purec \
  444. !         purec/unixname sozobon ;\
  445. !     do \
  446. !       cd $$dir ;\
  447. !       ci -l -f -m- -r$V.1 RCS/* ;\
  448. !       co -f -l RCS/* ;\
  449. !     done
  450. !     echo '/*' > PatchLev.h
  451. !     echo ' *    This identifies the version of the MiNT library in this' >> PatchLev.h
  452. !     echo ' *    directory.' >> PatchLev.h
  453. !     echo ' */' >> PatchLev.h
  454. !     echo '' >> PatchLev.h
  455. !     cp PatchLev.h $(incdir)/PatchLev.h
  456. !     echo '#define PatchLevel "'`expr $V + 1`'"' >> PatchLev.h
  457. !     echo '#define _PatchLevel "'`expr $V + 1`'"' >> $(incdir)/PatchLev.h
  458. !     echo 'V='`expr $V + 1` > Version
  459. !     ci -f -l -m- Version
  460. !     ci -f -l -m- PatchLev.h
  461. !     cd $(incdir) ; ci -f -l -m- PatchLev.h
  462. *** 40.1    1993/10/30 08:59:36
  463. --- PatchLev.h    1993/10/31 10:38:34
  464. ***************
  465. *** 3,6 ****
  466.    *    directory.
  467.    */
  468.   
  469. ! #define PatchLevel "40"
  470. --- 3,6 ----
  471.    *    directory.
  472.    */
  473.   
  474. ! #define PatchLevel "41"
  475. *** 40.1    1993/10/30 08:59:36
  476. --- Version    1993/10/30 22:11:24
  477. ***************
  478. *** 1 ****
  479. ! V=40
  480. --- 1 ----
  481. ! V=41
  482. *** 40.1    1993/10/30 08:59:36
  483. --- ioctl.c    1993/10/31 09:10:54
  484. ***************
  485. *** 65,71 ****
  486.                   return -1;
  487.               }
  488.               (void) Fclose(fd);
  489. !             null_fd = Fopen(__mint < 9 ? "V:\\null"
  490.                       : "U:\\dev\\null", O_RDWR);
  491.               (void) Fforce(-1, null_fd);
  492.               __open_stat[__OPEN_INDEX(-1)].status = FH_UNKNOWN;
  493. --- 65,71 ----
  494.                   return -1;
  495.               }
  496.               (void) Fclose(fd);
  497. !             null_fd = (int) Fopen(__mint < 9 ? "V:\\null"
  498.                       : "U:\\dev\\null", O_RDWR);
  499.               (void) Fforce(-1, null_fd);
  500.               __open_stat[__OPEN_INDEX(-1)].status = FH_UNKNOWN;
  501. *** 40.1    1993/10/30 08:59:36
  502. --- open.c    1993/10/31 09:11:02
  503. ***************
  504. *** 154,160 ****
  505.           (void) Fclose(rv);
  506.               rv = (int) fcbuf;
  507.             } else {
  508. !             (void) Fclose(fcbuf);
  509.             }
  510.             if (rv == 0) {
  511.               (void) Fforce(-1, rv);
  512. --- 154,160 ----
  513.           (void) Fclose(rv);
  514.               rv = (int) fcbuf;
  515.             } else {
  516. !             (void) Fclose((int) fcbuf);
  517.             }
  518.             if (rv == 0) {
  519.               (void) Fforce(-1, rv);
  520. *** 40.1    1993/10/30 08:59:36
  521. --- popen.c    1993/10/31 09:11:04
  522. ***************
  523. *** 9,15 ****
  524. --- 9,19 ----
  525.   #include    <string.h>
  526.   #include    <errno.h>
  527.   #include    <unistd.h>
  528. + #ifdef __TURBOC__
  529. + #include <sys\types.h>
  530. + #else
  531.   #include <sys/types.h>
  532. + #endif
  533.   #include <wait.h>
  534.   #include <mintbind.h>
  535.   
  536. ***************
  537. *** 51,57 ****
  538.       /* initialize the new pipe entry */
  539.       kidfd = (*type == 'r') ? 1 : 0;
  540.   
  541. !     savefd = r = Fdup (kidfd);
  542.       /* get those close-on-exec flags right...
  543.          (well just do fork/exec would be easier :-)    -nox */
  544.   
  545. --- 55,62 ----
  546.       /* initialize the new pipe entry */
  547.       kidfd = (*type == 'r') ? 1 : 0;
  548.   
  549. !     r = Fdup (kidfd);
  550. !     savefd = (int) r;
  551.       /* get those close-on-exec flags right...
  552.          (well just do fork/exec would be easier :-)    -nox */
  553.   
  554. *** 40.1    1993/10/30 08:59:36
  555. --- read.c    1993/10/31 09:11:08
  556. ***************
  557. *** 86,92 ****
  558.               }
  559.   #endif
  560.               omask = Psigblock(~0L);
  561. !             osigt = (__Sigfunc) Psignal(SIGTTIN, SIG_IGN);
  562.               (void) Psignal(SIGTTIN, (long) osigt);
  563.               (void) Psigsetmask(omask);
  564.               if ((omask & sigmask(SIGTTIN)) || (osigt == SIG_IGN)) {
  565. --- 86,92 ----
  566.               }
  567.   #endif
  568.               omask = Psigblock(~0L);
  569. !             osigt = (__Sigfunc) Psignal(SIGTTIN, (long) SIG_IGN);
  570.               (void) Psignal(SIGTTIN, (long) osigt);
  571.               (void) Psigsetmask(omask);
  572.               if ((omask & sigmask(SIGTTIN)) || (osigt == SIG_IGN)) {
  573. *** 40.1    1993/10/30 08:59:36
  574. --- select.c    1993/10/31 09:11:12
  575. ***************
  576. *** 38,49 ****
  577.          We have to loop for a bigger timeout. */
  578.       for (;;)
  579.         {
  580. !         if (mtime > 65535)
  581. !           stime = 65535;
  582.           else
  583.             stime = (unsigned short)mtime;
  584.           mtime -= stime;
  585. !         rval = Fselect (stime, rfds, wfds, xfds);
  586.           if (rval < 0)
  587.             {
  588.           errno = -rval;
  589. --- 38,49 ----
  590.          We have to loop for a bigger timeout. */
  591.       for (;;)
  592.         {
  593. !         if (mtime > 65535U)
  594. !           stime = 65535U;
  595.           else
  596.             stime = (unsigned short)mtime;
  597.           mtime -= stime;
  598. !         rval = Fselect (stime, (long *) rfds, (long *) wfds, (long *) xfds);
  599.           if (rval < 0)
  600.             {
  601.           errno = -rval;
  602. *** 40.1    1993/10/30 08:59:36
  603. --- tcbreak.c    1993/10/31 09:11:14
  604. ***************
  605. *** 39,43 ****
  606.       }
  607.     }
  608.     (void) Psigsetmask(oldmask);
  609. !   return r;
  610.   }
  611. --- 39,43 ----
  612.       }
  613.     }
  614.     (void) Psigsetmask(oldmask);
  615. !   return (int) r;
  616.   }
  617. *** 40.1    1993/10/30 08:59:36
  618. --- truncate.c    1993/10/31 09:11:18
  619. ***************
  620. *** 52,58 ****
  621.         return -1;
  622.       }
  623.     if (__mint > 90)
  624. !     res = Fcntl (fh, (long) &length, FTRUNCATE);
  625.     Fclose (fh);
  626.     if (res == -EINVAL && length == 0)
  627.       {
  628. --- 52,58 ----
  629.         return -1;
  630.       }
  631.     if (__mint > 90)
  632. !     res = (int) Fcntl (fh, (long) &length, FTRUNCATE);
  633.     Fclose (fh);
  634.     if (res == -EINVAL && length == 0)
  635.       {
  636. ***************
  637. *** 76,82 ****
  638.     int res;
  639.   
  640.     if (__mint > 90)
  641. !     res = Fcntl (fd, (long) &length, FTRUNCATE);
  642.     else
  643.       res = -EINVAL;
  644.   
  645. --- 76,82 ----
  646.     int res;
  647.   
  648.     if (__mint > 90)
  649. !     res = (int) Fcntl (fd, (long) &length, FTRUNCATE);
  650.     else
  651.       res = -EINVAL;
  652.   
  653. *** 40.1    1993/10/30 08:59:36
  654. --- ttyname.c    1993/10/31 09:11:20
  655. ***************
  656. *** 49,55 ****
  657.           *where++ = *dir++;
  658.       }
  659.   
  660. !     while (Dreaddir((int) sizeof (dbuf), drv, &dbuf) == 0) {
  661.           strcpy(where, dbuf.name);
  662.           if (Fxattr(0, _name, &testsb))
  663.               continue;
  664. --- 49,55 ----
  665.           *where++ = *dir++;
  666.       }
  667.   
  668. !     while (Dreaddir((int) sizeof (dbuf), drv, (char *) &dbuf) == 0) {
  669.           strcpy(where, dbuf.name);
  670.           if (Fxattr(0, _name, &testsb))
  671.               continue;
  672. *** 40.1    1993/11/01 21:35:14
  673. --- purec/Makefile    1993/11/01 21:38:26
  674. ***************
  675. *** 45,51 ****
  676.   # If you define TOSIFY_NAMES below, this is path will be automatically 
  677.   # tosified for the compiler's -I switch.
  678.   
  679. ! INCLUDEDIR=    /dev/g/gnu/include
  680.   
  681.   # OSBINDLIB= the location of the osbind library by Ole Arndt und 
  682.   # Ulf Moeller, if you have it.  This library replaces our TOS bindings.
  683. --- 45,51 ----
  684.   # If you define TOSIFY_NAMES below, this is path will be automatically 
  685.   # tosified for the compiler's -I switch.
  686.   
  687. ! INCLUDEDIR=    /dev/z/src/lib/include
  688.   
  689.   # OSBINDLIB= the location of the osbind library by Ole Arndt und 
  690.   # Ulf Moeller, if you have it.  This library replaces our TOS bindings.
  691. ***************
  692. *** 106,112 ****
  693.   sh_backslash=    \\
  694.   #sh_backslash=    \$(nothing)
  695.   
  696. ! # SHELL, RM, CP, INSTALL_DATA, SED, ECHO: edit to suite your taste
  697.   # These programs _should_ understand unix-like path names (like "/dev/c/foo").
  698.   # INSTALL_DATA is only needed during "make install" and "make install-includes".
  699.   # AWK is only needed when using Turbo C without the osbind library (see
  700. --- 106,112 ----
  701.   sh_backslash=    \\
  702.   #sh_backslash=    \$(nothing)
  703.   
  704. ! # SHELL, RM, CP, INSTALL_DATA, AWK, ECHO: edit to suite your taste
  705.   # These programs _should_ understand unix-like path names (like "/dev/c/foo").
  706.   # INSTALL_DATA is only needed during "make install" and "make install-includes".
  707.   # AWK is only needed when using Turbo C without the osbind library (see
  708. ***************
  709. *** 299,306 ****
  710.   ### how to build MINTLIB
  711.   
  712.   COMMONSRC :=    a64l.c abort.c abs.c access.c alarm.c alphasor.c atexit.c \
  713. !   atol.c bblink.c bcmp.c binmode.c bsearch.c calloc.c chdir.c chmod.c \
  714. !   clock.c close.c console.c crtinit.c ctermid.c \
  715.     ctime.c ctype.c defmode.c dirent.c \
  716.     doprnt.c dup.c eprintf.c exec.c execp.c fclose.c fcntl.c fdopen.c fflush.c \
  717.     fgetc.c fgets.c filbuf.c findfile.c fopen.c fopenp.c fork.c fprintf.c \
  718. --- 299,306 ----
  719.   ### how to build MINTLIB
  720.   
  721.   COMMONSRC :=    a64l.c abort.c abs.c access.c alarm.c alphasor.c atexit.c \
  722. !   atol.c bblink.c bcmp.c binmode.c bsearch.c calloc.c cfspeed.c chdir.c \
  723. !   chmod.c clock.c close.c console.c crtinit.c ctermid.c \
  724.     ctime.c ctype.c defmode.c dirent.c \
  725.     doprnt.c dup.c eprintf.c exec.c execp.c fclose.c fcntl.c fdopen.c fflush.c \
  726.     fgetc.c fgets.c filbuf.c findfile.c fopen.c fopenp.c fork.c fprintf.c \
  727. ***************
  728. *** 310,317 ****
  729.     getrusag.c gets.c getuid.c getw.c grp.c heapbase.c ic.c ident.c ig.c \
  730.     il.c inistack.c initsig.c ioctl.c ip.c isatty.c iw.c kill.c killpg.c \
  731.     link.c localtim.c lockf.c lseek.c ltoa.c main.c malloc.c memccpy.c \
  732. !   memchr.c memcmp.c mkdir.c mknod.c mktemp.c nice.c obstack.c open.c \
  733. !   pause.c perror.c pipe.c pgrp.c popen.c psignal.c putenv.c qsort.c raise.c \
  734.     rand.c random.c read.c realloc.c regexp.c regsup.c rename.c rmdir.c \
  735.     sbrk.c scandir.c scanf.c select.c setbuf.c setlocal.c setrlimi.c \
  736.     setvbuf.c sgtty.c sigactio.c sigblock.c siglist.c signal.c sleep.c \
  737. --- 310,319 ----
  738.     getrusag.c gets.c getuid.c getw.c grp.c heapbase.c ic.c ident.c ig.c \
  739.     il.c inistack.c initsig.c ioctl.c ip.c isatty.c iw.c kill.c killpg.c \
  740.     link.c localtim.c lockf.c lseek.c ltoa.c main.c malloc.c memccpy.c \
  741. !   memchr.c memcmp.c mkdir.c mkfifo.c mknod.c mktemp.c nice.c nlist.c \
  742. !   obstack.c open.c \
  743. !   pause.c perror.c pipe.c pgrp.c popen.c printf.c psignal.c putenv.c \
  744. !   qsort.c raise.c \
  745.     rand.c random.c read.c realloc.c regexp.c regsup.c rename.c rmdir.c \
  746.     sbrk.c scandir.c scanf.c select.c setbuf.c setlocal.c setrlimi.c \
  747.     setvbuf.c sgtty.c sigactio.c sigblock.c siglist.c signal.c sleep.c \
  748. ***************
  749. *** 320,328 ****
  750.     strerror.c strftime.c stricmp.c strlen.c strlwr.c strncat.c strncmp.c \
  751.     strncpy.c strnicmp.c strpbrk.c strrchr.c strrev.c strspn.c strstr.c \
  752.     strtok.c strtol.c strtoul.c strupr.c symlink.c sysconf.c system.c \
  753. !   sysvar.c textio.c thread.c time.c timeoday.c times.c tmpfile.c tmpnam.c \
  754. !   toxxx.c ttyname.c uname.c unlink.c unx2dos.c utime.c utmp.c wait.c \
  755. !   wait3.c waitpid.c write.c wtmp.c 
  756.   COMMONSRC := $(addprefix $(COMMONDIR)/,$(COMMONSRC))
  757.   
  758.   SRC :=        bzero.c memset.c alloca2.c \
  759. --- 322,333 ----
  760.     strerror.c strftime.c stricmp.c strlen.c strlwr.c strncat.c strncmp.c \
  761.     strncpy.c strnicmp.c strpbrk.c strrchr.c strrev.c strspn.c strstr.c \
  762.     strtok.c strtol.c strtoul.c strupr.c symlink.c sysconf.c system.c \
  763. !   sysvar.c tcattr.c tcbreak.c tcdrain.c tcflow.c tcflush.c tcpgrp.c \
  764. !   textio.c thread.c time.c timeoday.c times.c tmpfile.c tmpnam.c \
  765. !   toxxx.c truncate.c ttyname.c uname.c unlink.c unx2dos.c utime.c \
  766. !   utmp.c vfprintf.c vprintf.c wait.c \
  767. !   wait3.c waitpid.c wcmb.c \
  768. !   wcscat.c wcscmp.c wcscpy.c wcslen.c wnull.c write.c wtmp.c 
  769.   COMMONSRC := $(addprefix $(COMMONDIR)/,$(COMMONSRC))
  770.   
  771.   SRC :=        bzero.c memset.c alloca2.c \
  772. *** 40.1    1993/11/01 21:35:14
  773. --- purec/mintlib.prj    1993/11/01 21:38:50
  774. ***************
  775. *** 26,31 ****
  776. --- 26,32 ----
  777.   ..\bsearch.c
  778.   bzero.c
  779.   ..\calloc.c
  780. + ..\cfspeed.c
  781.   ..\chdir.c
  782.   ..\chmod.c
  783.   ..\clock.c
  784. ***************
  785. *** 107,115 ****
  786. --- 108,118 ----
  787.   ..\memcmp.c
  788.   memset.c
  789.   ..\mkdir.c
  790. + ..\mkfifo.c
  791.   ..\mknod.c
  792.   ..\mktemp.c
  793.   ..\nice.c
  794. + ..\nlist.c
  795.   ..\obstack.c
  796.   ..\open.c
  797.   ..\pause.c
  798. ***************
  799. *** 181,186 ****
  800. --- 184,194 ----
  801.   ..\sysconf.c
  802.   ..\system.c
  803.   ..\sysvar.c
  804. + ..\tcbreak.c
  805. + ..\tcdrain.c
  806. + ..\tcflow.c
  807. + ..\tcflush.c
  808. + ..\tcpgrp.c
  809.   ..\textio.c
  810.   ..\thread.c [-P -S-]
  811.   ..\time.c
  812. ***************
  813. *** 202,207 ****
  814. --- 210,220 ----
  815.   ..\wait3.c
  816.   ..\waitpid.c
  817.   ..\wcmb.c
  818. + ..\wcscat.c
  819. + ..\wcscmp.c
  820. + ..\wcscpy.c
  821. + ..\wcslen.c
  822. + ..\wnull.c
  823.   ..\write.c
  824.   ..\wtmp.c
  825.   
  826.